package pw.hais.dz.entity;

import pw.hais.annotation.Id;
import pw.hais.annotation.Table;
import pw.hais.entity.BaseEntity;

/**
 * 用户
 * @author HaiSheng
 * @date 2015年1月14日
 */
@Table("Dz_User")
public class User extends BaseEntity{
	@Id private long id;
	private String username;
	private String password;
	
	
	
	
	public User() {
		super();
	}
	public User(String username, String password) {
		super();
		this.username = username;
		this.password = password;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	
	

}
